package com.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.domain.entity.Goods;
import com.common.domain.entity.Volunteer;
import com.common.domain.vo.VolunteerLogVo;
import com.common.domain.vo.VolunteerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VolunteerMapper extends BaseMapper<Volunteer> {

    List<VolunteerVo> allVolunteerList(@Param("name") String name,@Param("userId") Long id );

    List<VolunteerLogVo> allVolunteerLogList(@Param("id") Long id,
                                             @Param("userName") String userName,
                                             @Param("userId") Long userId);

}
